struct_certificate.go 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  1. package cas
  2. //Licensed under the Apache License, Version 2.0 (the "License");
  3. //you may not use this file except in compliance with the License.
  4. //You may obtain a copy of the License at
  5. //
  6. //http://www.apache.org/licenses/LICENSE-2.0
  7. //
  8. //Unless required by applicable law or agreed to in writing, software
  9. //distributed under the License is distributed on an "AS IS" BASIS,
  10. //WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  11. //See the License for the specific language governing permissions and
  12. //limitations under the License.
  13. //
  14. // Code generated by Alibaba Cloud SDK Code Generator.
  15. // Changes may cause incorrect behavior and will be lost if the code is regenerated.
  16. // Certificate is a nested struct in cas response
  17. type Certificate struct {
  18. Id int `json:"id" xml:"id"`
  19. Name string `json:"name" xml:"name"`
  20. Common string `json:"common" xml:"common"`
  21. Fingerprint string `json:"fingerprint" xml:"fingerprint"`
  22. Issuer string `json:"issuer" xml:"issuer"`
  23. OrgName string `json:"orgName" xml:"orgName"`
  24. Province string `json:"province" xml:"province"`
  25. City string `json:"city" xml:"city"`
  26. Country string `json:"country" xml:"country"`
  27. StartDate string `json:"startDate" xml:"startDate"`
  28. EndDate string `json:"endDate" xml:"endDate"`
  29. Sans string `json:"sans" xml:"sans"`
  30. Expired bool `json:"expired" xml:"expired"`
  31. BuyInAliyun bool `json:"buyInAliyun" xml:"buyInAliyun"`
  32. }