Class: SDM::ControlPanelGetOrgURLInfoResponse
- Inherits:
-
Object
- Object
- SDM::ControlPanelGetOrgURLInfoResponse
- Defined in:
- lib/models/porcelain.rb
Overview
ControlPanelGetOrgURLInfoResponse represents the response containing organization URL configuration.
Instance Attribute Summary collapse
-
#base_url ⇒ Object
The base URL of the organization, e.g.
-
#meta ⇒ Object
Reserved for future use.
-
#oidc_issuer_url ⇒ Object
The OIDC issuer URL for the organization, used for OIDC federation with cloud providers.
-
#rate_limit ⇒ Object
Rate limit information.
-
#saml_metadata_url ⇒ Object
The SAML metadata URL for the organization, used for SAML SSO configuration.
-
#websites_subdomain ⇒ Object
The organization's website subdomain, used to construct URLs.
Instance Method Summary collapse
-
#initialize(base_url: nil, meta: nil, oidc_issuer_url: nil, rate_limit: nil, saml_metadata_url: nil, websites_subdomain: nil) ⇒ ControlPanelGetOrgURLInfoResponse
constructor
A new instance of ControlPanelGetOrgURLInfoResponse.
- #to_json(options = {}) ⇒ Object
Constructor Details
#initialize(base_url: nil, meta: nil, oidc_issuer_url: nil, rate_limit: nil, saml_metadata_url: nil, websites_subdomain: nil) ⇒ ControlPanelGetOrgURLInfoResponse
Returns a new instance of ControlPanelGetOrgURLInfoResponse.
5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 |
# File 'lib/models/porcelain.rb', line 5743 def initialize( base_url: nil, meta: nil, oidc_issuer_url: nil, rate_limit: nil, saml_metadata_url: nil, websites_subdomain: nil ) @base_url = base_url == nil ? "" : base_url = == nil ? nil : @oidc_issuer_url = oidc_issuer_url == nil ? "" : oidc_issuer_url @rate_limit = rate_limit == nil ? nil : rate_limit = == nil ? "" : @websites_subdomain = websites_subdomain == nil ? "" : websites_subdomain end |
Instance Attribute Details
#base_url ⇒ Object
The base URL of the organization, e.g. https://app.strongdm.com
5730 5731 5732 |
# File 'lib/models/porcelain.rb', line 5730 def base_url @base_url end |
#meta ⇒ Object
Reserved for future use.
5732 5733 5734 |
# File 'lib/models/porcelain.rb', line 5732 def end |
#oidc_issuer_url ⇒ Object
The OIDC issuer URL for the organization, used for OIDC federation with cloud providers
5735 5736 5737 |
# File 'lib/models/porcelain.rb', line 5735 def oidc_issuer_url @oidc_issuer_url end |
#rate_limit ⇒ Object
Rate limit information.
5737 5738 5739 |
# File 'lib/models/porcelain.rb', line 5737 def rate_limit @rate_limit end |
#saml_metadata_url ⇒ Object
The SAML metadata URL for the organization, used for SAML SSO configuration.
5739 5740 5741 |
# File 'lib/models/porcelain.rb', line 5739 def end |
#websites_subdomain ⇒ Object
The organization's website subdomain, used to construct URLs.
5741 5742 5743 |
# File 'lib/models/porcelain.rb', line 5741 def websites_subdomain @websites_subdomain end |
Instance Method Details
#to_json(options = {}) ⇒ Object
5759 5760 5761 5762 5763 5764 5765 |
# File 'lib/models/porcelain.rb', line 5759 def to_json( = {}) hash = {} self.instance_variables.each do |var| hash[var.id2name.delete_prefix("@")] = self.instance_variable_get var end hash.to_json end |