Organizations

Organizations

Organizations Objects

class Organizations()

This is a base object that contains all you can do about Organizations.

constructor
function constructor()

Constructor

Arguments:

  • Reference InternalOpenGateAPI - to the API object.

withAuth
function withAuth(auth: object) -> 'Organizations'

Sets the auth security configuration

Arguments:

  • auth object

Returns:

  • Organizations

withCountryCode
function withCountryCode(countryCode: string) -> 'Organizations'

Set the country code attribute

Arguments:

  • countryCode string

Returns:

  • Organizations

withDescription
function withDescription(description: string) -> 'Organizations'

Set the description attribute

Arguments:

  • description string

Returns:

  • Organizations

withDomain
function withDomain(domain: string) -> 'Organizations'

Set the parent domain

Arguments:

  • domain string

Returns:

  • Organizations

withLangCode
function withLangCode(langCode: string) -> 'Organizations'

Set the lang code attribute

Arguments:

  • langCode string

Returns:

  • Organizations

withLocation
function withLocation(latitude: number,longitude: number) -> 'Organizations'

Sets the map location attribute

Arguments:

  • latitude number
  • longitude number

Returns:

  • Organizations

withName
function withName(name: string) -> 'Organizations'

Set the name attribute

Arguments:

  • name string - required field

Returns:

  • Organizations

withOnlyAssignedDomainCertificates
function withOnlyAssignedDomainCertificates(onlyDomainCerts: boolean) -> 'Organizations'

Set the onlyAssignedDomainCertificates attribute

Arguments:

  • onlyDomainCerts boolean - required field

Returns:

  • Organizations

withPasswordPolicy
function withPasswordPolicy(passPolicy: object) -> 'Organizations'

Sets the password poliicy configuration

Arguments:

  • passPolicy object

Returns:

  • Organizations

withPlan
function withPlan(plan: string) -> 'Organizations'

Set the plan attribute

Arguments:

  • plan string

Returns:

  • Organizations

withTimeZone
function withTimeZone(timeZone: string) -> 'Organizations'

Set the time zone attribute

Arguments:

  • timeZone string

Returns:

  • Organizations

withZoom
function withZoom(zoom: number) -> 'Organizations'

Sets the map zoom attribute

Arguments:

  • zoom number

Returns:

  • Organizations