Class: NgrokAPI::Models::EndpointSAMLMutate

Inherits:
Object
  • Object
show all
Defined in:
lib/ngrokapi/models/endpoint_saml_mutate.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client: nil, attrs: {}) ⇒ EndpointSAMLMutate

Returns a new instance of EndpointSAMLMutate.



23
24
25
26
27
28
29
30
31
32
33
34
35
36
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 23

def initialize(client: nil, attrs: {})
  @client = client
  @attrs = attrs
  @enabled = @attrs['enabled']
  @options_passthrough = @attrs['options_passthrough']
  @cookie_prefix = @attrs['cookie_prefix']
  @inactivity_timeout = @attrs['inactivity_timeout']
  @maximum_duration = @attrs['maximum_duration']
  @idp_metadata = @attrs['idp_metadata']
  @force_authn = @attrs['force_authn']
  @allow_idp_initiated = @attrs['allow_idp_initiated']
  @authorized_groups = @attrs['authorized_groups']
  @nameid_format = @attrs['nameid_format']
end

Instance Attribute Details

#allow_idp_initiatedObject (readonly)

Returns the value of attribute allow_idp_initiated.



10
11
12
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 10

def allow_idp_initiated
  @allow_idp_initiated
end

#attrsObject (readonly)

Returns the value of attribute attrs.



10
11
12
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 10

def attrs
  @attrs
end

#authorized_groupsObject (readonly)

Returns the value of attribute authorized_groups.



10
11
12
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 10

def authorized_groups
  @authorized_groups
end

#clientObject (readonly)

Returns the value of attribute client.



10
11
12
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 10

def client
  @client
end

Returns the value of attribute cookie_prefix.



10
11
12
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 10

def cookie_prefix
  @cookie_prefix
end

#enabledObject (readonly)

Returns the value of attribute enabled.



10
11
12
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 10

def enabled
  @enabled
end

#force_authnObject (readonly)

Returns the value of attribute force_authn.



10
11
12
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 10

def force_authn
  @force_authn
end

#idp_metadataObject (readonly)

Returns the value of attribute idp_metadata.



10
11
12
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 10

def 
  @idp_metadata
end

#inactivity_timeoutObject (readonly)

Returns the value of attribute inactivity_timeout.



10
11
12
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 10

def inactivity_timeout
  @inactivity_timeout
end

#maximum_durationObject (readonly)

Returns the value of attribute maximum_duration.



10
11
12
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 10

def maximum_duration
  @maximum_duration
end

#nameid_formatObject (readonly)

Returns the value of attribute nameid_format.



10
11
12
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 10

def nameid_format
  @nameid_format
end

#options_passthroughObject (readonly)

Returns the value of attribute options_passthrough.



10
11
12
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 10

def options_passthrough
  @options_passthrough
end

Instance Method Details

#==(other) ⇒ Object



38
39
40
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 38

def ==(other)
  @attrs == other.attrs
end

#to_hObject



46
47
48
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 46

def to_h
  @attrs.to_h
end

#to_sObject



42
43
44
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 42

def to_s
  @attrs.to_s
end