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.
5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 |
# File 'lib/models/porcelain.rb', line 5749 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 @meta = == nil ? nil : @oidc_issuer_url = oidc_issuer_url == nil ? "" : oidc_issuer_url @rate_limit = rate_limit == nil ? nil : rate_limit @saml_metadata_url = == 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
5736 5737 5738 |
# File 'lib/models/porcelain.rb', line 5736 def base_url @base_url end |
#meta ⇒ Object
Reserved for future use.
5738 5739 5740 |
# File 'lib/models/porcelain.rb', line 5738 def @meta end |
#oidc_issuer_url ⇒ Object
The OIDC issuer URL for the organization, used for OIDC federation with cloud providers
5741 5742 5743 |
# File 'lib/models/porcelain.rb', line 5741 def oidc_issuer_url @oidc_issuer_url end |
#rate_limit ⇒ Object
Rate limit information.
5743 5744 5745 |
# File 'lib/models/porcelain.rb', line 5743 def rate_limit @rate_limit end |
#saml_metadata_url ⇒ Object
The SAML metadata URL for the organization, used for SAML SSO configuration.
5745 5746 5747 |
# File 'lib/models/porcelain.rb', line 5745 def @saml_metadata_url end |
#websites_subdomain ⇒ Object
The organization's website subdomain, used to construct URLs.
5747 5748 5749 |
# File 'lib/models/porcelain.rb', line 5747 def websites_subdomain @websites_subdomain end |
Instance Method Details
#to_json(options = {}) ⇒ Object
5765 5766 5767 5768 5769 5770 5771 |
# File 'lib/models/porcelain.rb', line 5765 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 |