UEidentityAPI_TypesAndValues.ttcn 1.8 KB
Newer Older
Yann Garcia's avatar
Yann Garcia committed
module UEidentityAPI_TypesAndValues {
  
  // LibCommon
  import from LibCommon_BasicTypesAndValues all;
  
  /**
   * @desc 
   * @member type_ A URI reference according to IETF RFC 3986 that identifies the problem type
   * @member title A short, human-readable summary of the problem type
   * @member status The HTTP status code for this occurrence of the problem
   * @member detail A human-readable explanation specific to this occurrence of the problem
   * @member instance A URI reference that identifies the specific occurrence of the problem
   */
  type record ProblemDetails {
    universal charstring type_,
    universal charstring title,
    UInt32 status,
    universal charstring detail,
    universal charstring instance
  } with {
    variant (type_) "name as 'type'";
  }

  /**
   * @desc Information of UE identity tag used in UE Identity feature
   * @member ueIdentityTags 1 to N tags presented by a ME Application instance to a ME Platform
   */
  type record UeIdentityTagInfo {
    UeIdentityTags ueIdentityTags
  }

  /**
   * @desc Specific tag presented by a ME Application instance to a ME Platform
   */
  type universal charstring UeIdentityTag;
  
  /**
   * @desc Status of the resource ueIdentityTagInfo
   */
  type enumerated State {
Yann Garcia's avatar
Yann Garcia committed
    UNREGISTERED,
    REGISTERED
Yann Garcia's avatar
Yann Garcia committed
  }

  /**
   * @desc ME Application instance to a ME Platform
   * @member ueIdentityTag Specific tag presented by a ME Application instance to a ME Platform
   * @member state Status of the resource ueIdentityTagInfo
   */
  type record UeIdentityTagItem {
    universal charstring ueIdentityTag,
    State state
  }

  /**
   * @desc 1 to N tags presented by a ME Application instance to a ME Platform
   */
  type record of UeIdentityTagItem UeIdentityTags;
  
} with {
  encode "JSON"
} // End of module UEidentityAPI_TypesAndValues