{"modulePath":"github.com/grbit/swagger-example","version":"v0.0.0-20260826195332-5db34ffe95c9","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package models\n\n\\* swagger example API \\* \\* API to demo swagger \\* \\* API version: 1.0.0 \\* Generated by: Swagger Codegen ([https://github.com/swagger-api/swagger-codegen.git](https://github.com/swagger-api/swagger-codegen.git)) \\* \\* Hooray! It's out custom header \\*\n\n\\* swagger example API \\* \\* API to demo swagger \\* \\* API version: 1.0.0 \\* Generated by: Swagger Codegen ([https://github.com/swagger-api/swagger-codegen.git](https://github.com/swagger-api/swagger-codegen.git)) \\* \\* Hooray! It's out custom header \\*\n\n\\* swagger example API \\* \\* API to demo swagger \\* \\* API version: 1.0.0 \\* Generated by: Swagger Codegen ([https://github.com/swagger-api/swagger-codegen.git](https://github.com/swagger-api/swagger-codegen.git)) \\* \\* Hooray! It's out custom header \\*\n\n\\* swagger example API \\* \\* API to demo swagger \\* \\* API version: 1.0.0 \\* Generated by: Swagger Codegen ([https://github.com/swagger-api/swagger-codegen.git](https://github.com/swagger-api/swagger-codegen.git)) \\* \\* Hooray! It's out custom header \\*\n\n## Types\n\n```go\ntype GenericErrorResponse struct {\n\tCode string `json:\"Code\"`\n\n\tErrorCode string `json:\"ErrorCode\"`\n\n\tMessage string `json:\"Message\"`\n\n\tRequestId string `json:\"RequestId\"`\n}\n```\n\n```go\ntype PropertiesInfoResponse struct {\n\tData []PropertyInfoData `json:\"data,omitempty\"`\n\n\tRequestId string `json:\"requestId\"`\n}\n```\n\n```go\ntype PropertyInfoData struct {\n\t// 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 *string `json:\"propertyStatus,omitempty\"`\n\t// 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\t// This field can be used to provide the property direct url on the channel.\n\tPropertyUrl *string `json:\"propertyUrl,omitempty\"`\n\t// 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 *float64 `json:\"propertyRating,omitempty\"`\n\t// 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 *int32 `json:\"ratingScale,omitempty\"`\n}\n```\n\n```go\ntype PropertyInfoResponse struct {\n\tData *PropertyInfoData `json:\"data,omitempty\"`\n\n\tRequestId string `json:\"requestId\"`\n}\n```\n\n","path":"github.com/grbit/swagger-example/pkg/java/models","name":"models","synopsis":"* swagger example API * * API to demo swagger * * API version: 1.0.0 * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * * Hooray! It's out custom header *","isRedistributable":true}
