1// Copyright 2016-2020 The Libsacloud Authors
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package sacloud
16
17// PublicPrice 料金
18type PublicPrice struct {
19	DisplayName      string `json:",omitempty"` // 表示名
20	IsPublic         bool   `json:",omitempty"` // 公開フラグ
21	ServiceClassID   int    `json:",omitempty"` // サービスクラスID
22	ServiceClassName string `json:",omitempty"` // サービスクラス名
23	ServiceClassPath string `json:",omitempty"` // サービスクラスパス
24
25	Price struct { // 価格
26		Base    int    `json:",omitempty"` // 基本料金
27		Daily   int    `json:",omitempty"` // 日単位料金
28		Hourly  int    `json:",omitempty"` // 時間単位料金
29		Monthly int    `json:",omitempty"` // 分単位料金
30		Zone    string `json:",omitempty"` // ゾーン
31	}
32}
33