Class PropertiesApi

Hierarchy (view full)

Constructors

Properties

configuration: Configuration = DefaultConfig

Methods

  • Delete CWMS Property Delete cwmsData properties with name

    Parameters

    Returns Promise<void>

  • Returns matching CWMS Property Data. Get cwmsData properties

    Parameters

    Returns Promise<Property[]>

  • Returns CWMS Property Data Get cwmsData properties with name

    Parameters

    Returns Promise<Property>

  • Check if the given MIME is a JSON MIME. JSON MIME examples: application/json application/json; charset=UTF8 APPLICATION/JSON application/vnd.company+json

    Parameters

    • mime: string

      MIME (Multipurpose Internet Mail Extensions)

    Returns boolean

    True if the given MIME is JSON, false otherwise.

  • Update CWMS Property Patch cwmsData properties with name

    Parameters

    Returns Promise<void>

  • Create CWMS Property Post cwmsData properties

    Parameters

    Returns Promise<void>

  • Create CWMS Property Post cwmsData properties

    Parameters

    Returns Promise<ApiResponse<void>>

  • Parameters

    Returns Promise<Response>

  • Type Parameters

    Parameters

    • this: T
    • Rest ...postMiddlewares: ((context) => Promise<void | Response>)[]

    Returns T

  • Type Parameters

    Parameters

    • this: T
    • Rest ...preMiddlewares: ((context) => Promise<void | FetchParams>)[]

    Returns T