Organizations
Organizations
Organizations Objects
class Organizations()This is a base object that contains all you can do about Organizations.
constructor
function constructor()Constructor
Arguments:
ReferenceInternalOpenGateAPI - to the API object.
withAuth
function withAuth(auth: object) -> 'Organizations'Sets the auth security configuration
Arguments:
authobject
Returns:
Organizations
withCountryCode
function withCountryCode(countryCode: string) -> 'Organizations'Set the country code attribute
Arguments:
countryCodestring
Returns:
Organizations
withDescription
function withDescription(description: string) -> 'Organizations'Set the description attribute
Arguments:
descriptionstring
Returns:
Organizations
withDomain
function withDomain(domain: string) -> 'Organizations'Set the parent domain
Arguments:
domainstring
Returns:
Organizations
withLangCode
function withLangCode(langCode: string) -> 'Organizations'Set the lang code attribute
Arguments:
langCodestring
Returns:
Organizations
withLocation
function withLocation(latitude: number,longitude: number) -> 'Organizations'Sets the map location attribute
Arguments:
latitudenumberlongitudenumber
Returns:
Organizations
withName
function withName(name: string) -> 'Organizations'Set the name attribute
Arguments:
namestring - required field
Returns:
Organizations
withOnlyAssignedDomainCertificates
function withOnlyAssignedDomainCertificates(onlyDomainCerts: boolean) -> 'Organizations'Set the onlyAssignedDomainCertificates attribute
Arguments:
onlyDomainCertsboolean - required field
Returns:
Organizations
withPasswordPolicy
function withPasswordPolicy(passPolicy: object) -> 'Organizations'Sets the password poliicy configuration
Arguments:
passPolicyobject
Returns:
Organizations
withPlan
function withPlan(plan: string) -> 'Organizations'Set the plan attribute
Arguments:
planstring
Returns:
Organizations
withTimeZone
function withTimeZone(timeZone: string) -> 'Organizations'Set the time zone attribute
Arguments:
timeZonestring
Returns:
Organizations
withZoom
function withZoom(zoom: number) -> 'Organizations'Sets the map zoom attribute
Arguments:
zoomnumber
Returns:
Organizations