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.
5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 |
# File 'lib/models/porcelain.rb', line 5764 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
5751 5752 5753 |
# File 'lib/models/porcelain.rb', line 5751 def base_url @base_url end |
#meta ⇒ Object
Reserved for future use.
5753 5754 5755 |
# File 'lib/models/porcelain.rb', line 5753 def @meta end |
#oidc_issuer_url ⇒ Object
The OIDC issuer URL for the organization, used for OIDC federation with cloud providers
5756 5757 5758 |
# File 'lib/models/porcelain.rb', line 5756 def oidc_issuer_url @oidc_issuer_url end |
#rate_limit ⇒ Object
Rate limit information.
5758 5759 5760 |
# File 'lib/models/porcelain.rb', line 5758 def rate_limit @rate_limit end |
#saml_metadata_url ⇒ Object
The SAML metadata URL for the organization, used for SAML SSO configuration.
5760 5761 5762 |
# File 'lib/models/porcelain.rb', line 5760 def @saml_metadata_url end |
#websites_subdomain ⇒ Object
The organization's website subdomain, used to construct URLs.
5762 5763 5764 |
# File 'lib/models/porcelain.rb', line 5762 def websites_subdomain @websites_subdomain end |
Instance Method Details
#to_json(options = {}) ⇒ Object
5780 5781 5782 5783 5784 5785 5786 |
# File 'lib/models/porcelain.rb', line 5780 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 |