{"modulePath":"github.com/grbit/swagger-example","version":"v0.0.0-20260826195332-5db34ffe95c9","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package models\n\nPackage models provides primitives to interact with the openapi HTTP API.\n\nCode generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.\n\n## Constants\n\n```go\nconst (\n\tOpenIdProdScopes    = \"openIdProd.Scopes\"\n\tOpenIdSandboxScopes = \"openIdSandbox.Scopes\"\n)\n```\n\n## Types\n\n```go\ntype CreateUpdatePropertyInfoByIdJSONRequestBody = PropertyInfoData\n```\nCreateUpdatePropertyInfoByIdJSONRequestBody defines body for CreateUpdatePropertyInfoById for application/json ContentType.\n\n```go\ntype GenericErrorResponse struct {\n\tCode      string `json:\"Code\"`\n\tErrorCode string `json:\"ErrorCode\"`\n\tMessage   string `json:\"Message\"`\n\tRequestId string `json:\"RequestId\"`\n}\n```\nGenericErrorResponse defines model for GenericErrorResponse.\n\n```go\ntype PropertiesInfoResponse struct {\n\tData      *[]PropertyInfoData `json:\"data,omitempty\"`\n\tRequestId string              `json:\"requestId\"`\n}\n```\nPropertiesInfoResponse defines model for PropertiesInfoResponse.\n\n```go\ntype PropertyInfoData struct {\n\t// PropertyRating This field can be used to provide a property score or rating on the channel. It is used together with the propertyRatingScale to indicate the score and scale. Example 4 out of 5 where 4 is the rating and 5 is the scale. This value cannot be bigger than the propertyRatingScale.\n\tPropertyRating *float32 `json:\"propertyRating,omitempty\"`\n\n\t// PropertyStatus Field that indicates the status of a property on the channel. Accepted values are \"active\" for a property that is opened and bookable, \"inactive\" for a property that is no longer open and bookable, \"inactive_checks\" when a property is currently closed but will be opened after optional checks are done, \"inactive_temporary\" when a property was opened but it is now closed for a short period of time while resolving an issue, \"inactive_duplicate\" when a property already exists on the channel with a different property id or provider.\n\tPropertyStatus *PropertyInfoDataPropertyStatus `json:\"propertyStatus,omitempty\"`\n\n\t// PropertyStatusNote This field can be used to provide more information as to why a property has a specific status on the channel.\n\tPropertyStatusNote *string `json:\"propertyStatusNote,omitempty\"`\n\n\t// PropertyUrl This field can be used to provide the property direct url on the channel.\n\tPropertyUrl string `json:\"propertyUrl\"`\n\n\t// RatingScale This field can be used to indicate the scale used for the property rating. It is required if channelPropertyRating field has a value.\n\tRatingScale *int `json:\"ratingScale,omitempty\"`\n}\n```\nPropertyInfoData defines model for PropertyInfoData.\n\n```go\ntype PropertyInfoDataPropertyStatus string\n```\nPropertyInfoDataPropertyStatus Field that indicates the status of a property on the channel. Accepted values are \"active\" for a property that is opened and bookable, \"inactive\" for a property that is no longer open and bookable, \"inactive\\_checks\" when a property is currently closed but will be opened after optional checks are done, \"inactive\\_temporary\" when a property was opened but it is now closed for a short period of time while resolving an issue, \"inactive\\_duplicate\" when a property already exists on the channel with a different property id or provider.\n\n```go\nconst (\n\tActive            PropertyInfoDataPropertyStatus = \"active\"\n\tInactive          PropertyInfoDataPropertyStatus = \"inactive\"\n\tInactiveChecks    PropertyInfoDataPropertyStatus = \"inactive-checks\"\n\tInactiveDuplicate PropertyInfoDataPropertyStatus = \"inactive-duplicate\"\n\tInactiveTemporary PropertyInfoDataPropertyStatus = \"inactive-temporary\"\n)\n```\nDefines values for PropertyInfoDataPropertyStatus.\n\n```go\ntype PropertyInfoResponse struct {\n\tData      *PropertyInfoData `json:\"data,omitempty\"`\n\tRequestId string            `json:\"requestId\"`\n}\n```\nPropertyInfoResponse defines model for PropertyInfoResponse.\n\n","path":"github.com/grbit/swagger-example/pkg/codegen/models","name":"models","synopsis":"Package models provides primitives to interact with the openapi HTTP API.","isRedistributable":true}
