Class: DatadogAPIClient::V1::OrganizationSettings

Inherits:
Object
  • Object
show all
Defined in:
lib/datadog_api_client/v1/models/organization_settings.rb

Overview

A JSON array of settings.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ OrganizationSettings

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    attributes Model attributes in the form of hash



100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
# File 'lib/datadog_api_client/v1/models/organization_settings.rb', line 100

def initialize(attributes = {})
  if (!attributes.is_a?(Hash))
    fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::OrganizationSettings` initialize method"
  end

  # check to see if the attribute exists and convert string to symbol for hash key
  attributes = attributes.each_with_object({}) { |(k, v), h|
    if (!self.class.attribute_map.key?(k.to_sym))
      fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::OrganizationSettings`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
    end
    h[k.to_sym] = v
  }

  if attributes.key?(:'private_widget_share')
    self.private_widget_share = attributes[:'private_widget_share']
  end

  if attributes.key?(:'saml')
    self.saml = attributes[:'saml']
  end

  if attributes.key?(:'saml_autocreate_access_role')
    self.saml_autocreate_access_role = attributes[:'saml_autocreate_access_role']
  else
    self.saml_autocreate_access_role = 'st'
  end

  if attributes.key?(:'saml_autocreate_users_domains')
    self.saml_autocreate_users_domains = attributes[:'saml_autocreate_users_domains']
  end

  if attributes.key?(:'saml_can_be_enabled')
    self.saml_can_be_enabled = attributes[:'saml_can_be_enabled']
  end

  if attributes.key?(:'saml_idp_endpoint')
    self.saml_idp_endpoint = attributes[:'saml_idp_endpoint']
  end

  if attributes.key?(:'saml_idp_initiated_login')
    self. = attributes[:'saml_idp_initiated_login']
  end

  if attributes.key?(:'saml_idp_metadata_uploaded')
    self. = attributes[:'saml_idp_metadata_uploaded']
  end

  if attributes.key?(:'saml_login_url')
    self. = attributes[:'saml_login_url']
  end

  if attributes.key?(:'saml_strict_mode')
    self.saml_strict_mode = attributes[:'saml_strict_mode']
  end
end

Instance Attribute Details

#private_widget_shareObject

Whether or not the organization users can share widgets outside of Datadog.



27
28
29
# File 'lib/datadog_api_client/v1/models/organization_settings.rb', line 27

def private_widget_share
  @private_widget_share
end

#samlObject

Returns the value of attribute saml.



29
30
31
# File 'lib/datadog_api_client/v1/models/organization_settings.rb', line 29

def saml
  @saml
end

#saml_autocreate_access_roleObject

Returns the value of attribute saml_autocreate_access_role.



31
32
33
# File 'lib/datadog_api_client/v1/models/organization_settings.rb', line 31

def saml_autocreate_access_role
  @saml_autocreate_access_role
end

#saml_autocreate_users_domainsObject

Returns the value of attribute saml_autocreate_users_domains.



33
34
35
# File 'lib/datadog_api_client/v1/models/organization_settings.rb', line 33

def saml_autocreate_users_domains
  @saml_autocreate_users_domains
end

#saml_can_be_enabledObject

Whether or not SAML can be enabled for this organization.



36
37
38
# File 'lib/datadog_api_client/v1/models/organization_settings.rb', line 36

def saml_can_be_enabled
  @saml_can_be_enabled
end

#saml_idp_endpointObject

Identity provider endpoint for SAML authentication.



39
40
41
# File 'lib/datadog_api_client/v1/models/organization_settings.rb', line 39

def saml_idp_endpoint
  @saml_idp_endpoint
end

#saml_idp_initiated_loginObject

Returns the value of attribute saml_idp_initiated_login.



41
42
43
# File 'lib/datadog_api_client/v1/models/organization_settings.rb', line 41

def 
  
end

#saml_idp_metadata_uploadedObject

Whether or not a SAML identity provider metadata file was provided to the Datadog organization.



44
45
46
# File 'lib/datadog_api_client/v1/models/organization_settings.rb', line 44

def 
  
end

#saml_login_urlObject

URL for SAML logging.



47
48
49
# File 'lib/datadog_api_client/v1/models/organization_settings.rb', line 47

def 
  
end

#saml_strict_modeObject

Returns the value of attribute saml_strict_mode.



49
50
51
# File 'lib/datadog_api_client/v1/models/organization_settings.rb', line 49

def saml_strict_mode
  @saml_strict_mode
end