Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for MultipleOf (0.18 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1/jsonschemaprops.go

    }
    
    // WithMultipleOf sets the MultipleOf field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the MultipleOf field is set to the value of the last call.
    func (b *JSONSchemaPropsApplyConfiguration) WithMultipleOf(value float64) *JSONSchemaPropsApplyConfiguration {
    	b.MultipleOf = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/client/applyconfiguration/apiextensions/v1beta1/jsonschemaprops.go

    }
    
    // WithMultipleOf sets the MultipleOf field in the declarative configuration to the given value
    // and returns the receiver, so that objects can be built by chaining "With" function invocations.
    // If called multiple times, the MultipleOf field is set to the value of the last call.
    func (b *JSONSchemaPropsApplyConfiguration) WithMultipleOf(value float64) *JSONSchemaPropsApplyConfiguration {
    	b.MultipleOf = &value
    	return b
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 28 12:38:10 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/validation/validation.go

    	out.MaxLength = in.MaxLength
    	out.MinLength = in.MinLength
    	out.Pattern = in.Pattern
    	out.MaxItems = in.MaxItems
    	out.MinItems = in.MinItems
    	out.UniqueItems = in.UniqueItems
    	out.MultipleOf = in.MultipleOf
    	out.MaxProperties = in.MaxProperties
    	out.MinProperties = in.MinProperties
    	out.Required = in.Required
    
    	if in.Default != nil {
    		out.Default = *(in.Default)
    	}
    	if in.Example != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 18:23:28 UTC 2023
    - 15K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/types_jsonschema.go

    	MinItems         *int64   `json:"minItems,omitempty" protobuf:"bytes,17,opt,name=minItems"`
    	UniqueItems      bool     `json:"uniqueItems,omitempty" protobuf:"bytes,18,opt,name=uniqueItems"`
    	MultipleOf       *float64 `json:"multipleOf,omitempty" protobuf:"bytes,19,opt,name=multipleOf"`
    	// +listType=atomic
    	Enum          []JSON `json:"enum,omitempty" protobuf:"bytes,20,rep,name=enum"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:21 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types_jsonschema.go

    	MinItems         *int64   `json:"minItems,omitempty" protobuf:"bytes,17,opt,name=minItems"`
    	UniqueItems      bool     `json:"uniqueItems,omitempty" protobuf:"bytes,18,opt,name=uniqueItems"`
    	MultipleOf       *float64 `json:"multipleOf,omitempty" protobuf:"bytes,19,opt,name=multipleOf"`
    	// +listType=atomic
    	Enum          []JSON `json:"enum,omitempty" protobuf:"bytes,20,rep,name=enum"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:21 UTC 2023
    - 24.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/v2/conversion_test.go

    		{
    			name: "uniqueItems",
    			in: &apiextensions.JSONSchemaProps{
    				UniqueItems: true,
    			},
    			expected: new(spec.Schema).
    				UniqueValues(),
    		},
    		{
    			name: "multipleOf",
    			in: &apiextensions.JSONSchemaProps{
    				MultipleOf: &testFloat64,
    			},
    			expected: new(spec.Schema).
    				WithMultipleOf(testFloat64),
    		},
    		{
    			name: "enum",
    			in: &apiextensions.JSONSchemaProps{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 14:34:26 UTC 2023
    - 23.2K bytes
    - Viewed (0)
  7. fastapi/openapi/models.py

        # A Vocabulary for Structural Validation
        type: Optional[str] = None
        enum: Optional[List[Any]] = None
        const: Optional[Any] = None
        multipleOf: Optional[float] = Field(default=None, gt=0)
        maximum: Optional[float] = None
        exclusiveMaximum: Optional[float] = None
        minimum: Optional[float] = None
        exclusiveMinimum: Optional[float] = None
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (1)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/types_jsonschema.go

    	ExclusiveMinimum     bool
    	MaxLength            *int64
    	MinLength            *int64
    	Pattern              string
    	MaxItems             *int64
    	MinItems             *int64
    	UniqueItems          bool
    	MultipleOf           *float64
    	Enum                 []JSON
    	MaxProperties        *int64
    	MinProperties        *int64
    	Required             []string
    	Items                *JSONSchemaPropsOrArray
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 22:23:23 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/generated.proto

      optional int64 minLength = 14;
    
      optional string pattern = 15;
    
      optional int64 maxItems = 16;
    
      optional int64 minItems = 17;
    
      optional bool uniqueItems = 18;
    
      optional double multipleOf = 19;
    
      // +listType=atomic
      repeated JSON enum = 20;
    
      optional int64 maxProperties = 21;
    
      optional int64 minProperties = 22;
    
      // +listType=atomic
      repeated string required = 23;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/generated.proto

      optional int64 minLength = 14;
    
      optional string pattern = 15;
    
      optional int64 maxItems = 16;
    
      optional int64 minItems = 17;
    
      optional bool uniqueItems = 18;
    
      optional double multipleOf = 19;
    
      // +listType=atomic
      repeated JSON enum = 20;
    
      optional int64 maxProperties = 21;
    
      optional int64 minProperties = 22;
    
      // +listType=atomic
      repeated string required = 23;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
Back to top