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.



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: 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_url = @attrs['idp_metadata_url']
  @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.



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

def allow_idp_initiated
  @allow_idp_initiated
end

#attrsObject (readonly)

Returns the value of attribute attrs.



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

def attrs
  @attrs
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

Instance Method Details

#==(other) ⇒ Object



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

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

#to_hObject



44
45
46
# File 'lib/ngrokapi/models/endpoint_saml_mutate.rb', line 44

def to_h
  @attrs.to_h
end

#to_sObject



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

def to_s
  @attrs.to_s
end