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:, result:) ⇒ EndpointSAMLMutate

Returns a new instance of EndpointSAMLMutate.



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

def initialize(client:, result:)
  @client = client
  @result = result
  @enabled = @result['enabled']
  @options_passthrough = @result['options_passthrough']
  @cookie_prefix = @result['cookie_prefix']
  @inactivity_timeout = @result['inactivity_timeout']
  @maximum_duration = @result['maximum_duration']
  @idp_metadata_url = @result['idp_metadata_url']
  @idp_metadata = @result['idp_metadata']
  @force_authn = @result['force_authn']
  @allow_idp_initiated = @result['allow_idp_initiated']
  @authorized_groups = @result['authorized_groups']
  @nameid_format = @result['nameid_format']
end

Instance Attribute Details

#allow_idp_initiatedObject (readonly)

Returns the value of attribute allow_idp_initiated.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6

def allow_idp_initiated
  @allow_idp_initiated
end

#authorized_groupsObject (readonly)

Returns the value of attribute authorized_groups.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6

def authorized_groups
  @authorized_groups
end

#clientObject (readonly)

Returns the value of attribute client.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6

def client
  @client
end

Returns the value of attribute cookie_prefix.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6

def cookie_prefix
  @cookie_prefix
end

#enabledObject (readonly)

Returns the value of attribute enabled.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6

def enabled
  @enabled
end

#force_authnObject (readonly)

Returns the value of attribute force_authn.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6

def force_authn
  @force_authn
end

#idp_metadataObject (readonly)

Returns the value of attribute idp_metadata.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6

def 
  @idp_metadata
end

#idp_metadata_urlObject (readonly)

Returns the value of attribute idp_metadata_url.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6

def 
  @idp_metadata_url
end

#inactivity_timeoutObject (readonly)

Returns the value of attribute inactivity_timeout.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6

def inactivity_timeout
  @inactivity_timeout
end

#maximum_durationObject (readonly)

Returns the value of attribute maximum_duration.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6

def maximum_duration
  @maximum_duration
end

#nameid_formatObject (readonly)

Returns the value of attribute nameid_format.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6

def nameid_format
  @nameid_format
end

#options_passthroughObject (readonly)

Returns the value of attribute options_passthrough.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6

def options_passthrough
  @options_passthrough
end

#resultObject (readonly)

Returns the value of attribute result.



6
7
8
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 6

def result
  @result
end

Instance Method Details

#==(other) ⇒ Object



36
37
38
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 36

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

#to_sObject



40
41
42
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 40

def to_s
  @result.to_s
end